package com.cn.mmd.mapper;

import com.cn.mmd.model.ShiroPermission;
import com.cn.mmd.model.ShiroPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShiroPermissionMapper {
    int countByExample(ShiroPermissionExample example);

    int deleteByExample(ShiroPermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ShiroPermission record);

    int insertSelective(ShiroPermission record);

    List<ShiroPermission> selectByExample(ShiroPermissionExample example);

    ShiroPermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ShiroPermission record, @Param("example") ShiroPermissionExample example);

    int updateByExample(@Param("record") ShiroPermission record, @Param("example") ShiroPermissionExample example);

    int updateByPrimaryKeySelective(ShiroPermission record);

    int updateByPrimaryKey(ShiroPermission record);

    List<ShiroPermission> selectByRoleId(Integer roleId);
}